import { reactive } from 'vue'

export const roleRules = reactive({
  roleName: [
    {
      required: true,
      message: '角色名称不能为空',
      trigger: 'blur'
    },
    {
      max: 20,
      message: '角色名限制20个字符',
      trigger: 'blur'
    }
  ],
  description: [
    {
      required: true,
      message: '角色描述不能为空',
      trigger: 'blur'
    }
  ]
})
